package org.redis.cluster;

import org.redis.cluster.util.NetUtil;

public class Configs {
	
	public final static String SERVER_REGISTRY_CLIENT_PATH="/client";
	
	public final static String SERVER_REGISTRY_SERVER_PATH="/server";
	
	public final static String DEFAULT_REGISTRY_CONNECTOR="/";
	
	public final static int DEFAULT_SERVER_PORT=7379;
	public final static String DEFAULT_SERVER_HOST=NetUtil.getLocalHost();
	public final static int DEFAULT_SERVER_THREAD=Runtime.getRuntime().availableProcessors();
	public final static int DEFAULT_SERVER_BUFFER_SIZE=1024*5;
	public final static int DEFAULT_SERVER_TIMEOUT=1000*3;
	public final static int DEFAULT_SERVER_CONNECTION=Integer.MAX_VALUE;
	
	public final static int DEFAULT_REGISTRY_TIMEOUT=1000*1;
	public final static String DEFAULT_REGISTRY_ROOT=DEFAULT_REGISTRY_CONNECTOR+Constants.NAME;
}